package com.itggm.mapper;

import com.itggm.pojo.Coach;
import com.itggm.vo.CoachVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CoachMapper {


    void uploadInfo(Coach coach);

    List<Coach> getCoachInfo(Integer limit);

    void delete(String url);

    List<CoachVO> selectByCoachName(String coachName);

    void updateCoachInfo(Coach coach);

    List<Coach> getCoachList();

    void updateCoachImg(@Param("coachId") String coachId, @Param("fileName") String fileName);
}
